﻿#ifndef BOARDSETTING_H
#define BOARDSETTING_H

#include <QList>

struct _NUF_BUS
{
    _NUF_BUS()
    {
        port_name = "com3";
        mac_id  = "00-00-00-00-00-00";
    }

    QString port_name;
    QString mac_id ;
    QStringList p_list;
};


class NufBusSetting
{
public:
    NufBusSetting();

    static QList<_NUF_BUS> map_bus;

    static bool loadSetting();

    static void init_board_default();
    static bool load_board_setting();
    static void save_Bus_Setting();
};

#endif // BOARDSETTING_H
